package com.be.beadmin.quality.entity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.be.beadmin.common.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;


/**
 * @Description: 接线质量
 * @author: Jiaming Zheng
 * @Date: Create in 20:56 2023/5/15
 * @Modified By:
 **/
@Data
@Entity
@Table(name = "T_QM_CabinetQuality")
public class CabinetQuality extends BaseEntity {


    @Column(name = "BatchPlanId", columnDefinition = "VARCHAR(50) COMMENT '批次计划ID' ")
    private String batchPlanId;

    @Column(name = "ProjectCode", columnDefinition = "VARCHAR(50) COMMENT '项目编码' ")
    private String projectCode;

    @Column(name = "ProjectName", columnDefinition = "VARCHAR(50) COMMENT '项目名称' ")
    private String projectName;

    @Column(name = "BatchPlanCode", columnDefinition = "VARCHAR(50) COMMENT '计划编码' ")
    private String batchPlanCode;

    @Column(name = "Wo", columnDefinition = "VARCHAR(50) COMMENT '工单编号' ")
    private String wo;

    @Column(name = "ProductCode",columnDefinition = "VARCHAR(50) COMMENT '柜体编码' ")
    private String productCode;
    @Column(name = "ProductName", columnDefinition = "VARCHAR(50) COMMENT '柜体别名' ")
    private String productName;
    @Column(name = "CurrentBatch", columnDefinition = "int COMMENT '当前批次'")
    private Integer currentBatch;

    @Column(name = "BatchCount", columnDefinition = "int COMMENT '批次总数'")
    private Integer batchCount;

    @Column(name = "ErrorLineCount", columnDefinition = "int COMMENT '接线错误数量' ")
    private Integer errorLineCount;

    @Column(name = "LineCount", columnDefinition = "int COMMENT '接线总数量' ")
    private Integer lineCount;

    @Column(name = "Inspector", columnDefinition = "VARCHAR(50) COMMENT '检验员' ")
    private String inspector;

    @Column(name = "InspectTime", columnDefinition = "datetime COMMENT '填报时间' ")
    private Date inspectTime;

    @Column(name = "Memo", columnDefinition = "text COMMENT '备注' ")
    private String memo;

}


